<template>
	<view class="listsp">
		<view class="listitem" 
		     
		>
			<view class="top flex-row-between">
				<view class="color9">编号 :{{infor.orderNo}}</view>
				<view class="tip font12">待使用</view>
			</view>
			<view class="info flex-row-start">
				<!-- <image src="@/static/foodorder.jpg" mode="scaleToFill" class="bg" v-if='infor.orderType == 1 || infor.orderType == 2'></image>
				<image src="@/static/gameorder.jpg" mode="scaleToFill" class="bg"  v-if='infor.orderType == 3'></image>				<image src="@/static/wenquanorder.jpg" mode="scaleToFill" class="bg"  v-if='infor.orderType == 4'></image> -->
				<view class="content">
					<view class="font15">{{infor.orderDesc}}</view>
					<view class="type font12">{{infor.remark}}</view>
					<view class="type font12" v-if='infor.appStartTime'>预约开始时段:{{infor.appStartTime}}</view>
					<view class="type font12" v-if='infor.appEndTime'>预约开始时段:{{infor.appEndTime}}</view>
					<view class="type font12 color9"  v-if='time'>订单时间：{{infor.createTime}}</view>
				</view>
			</view>
			<view class="money text-right">实付金额：￥<text class="font18">0</text></view>
		</view>
	</view>
</template>

<script>
	export default {
		props:['order','infor']
	}
</script>

<style scoped lang="scss">
	.listitem{
		border-radius: 12px;
		overflow: hidden;
		margin-bottom: 10px;
		overflow: hidden;
		background-color: #fff;
		padding:15px 12px;
	}
	.top{
		padding-bottom: 10px;
		border-bottom: 1px solid #ECEFF4;
	}
	.tip{
		background-color: #FCEBD8;
		width: 52px;
		line-height: 24px;
		border-radius: 6px;
		color: #FF9100;
		text-align: center;
	}
	.info{
		margin-top: 10px;
		margin-bottom: 10px;
		.bg{
			width: 98px;
			height: 98px;
			border-radius: 3px;
			margin-right: 10px;
		}
		.type{
			padding-top:6px;
		}
	}
</style>